package com.kristin.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName UserApis
 * @Description TODO
 * @Author Kristin
 * @Date 2021/04/15 16:28:53
 * @Version 1.0.0
 */
@FeignClient(name="server-service" , contextId = "UserApis")
public interface UserApis {

    @RequestMapping("/demo/getDemo")
    public String get(String name);

}
